package com.zcy.nidavellir.multilogin

import android.app.Application
import com.facebook.FacebookSdk
import com.facebook.appevents.AppEventsLogger
import com.twitter.sdk.android.core.Twitter

/**
 * @author:       zhaocy
 * @description:  初始化 Application
 * @date:         2018/9/28
 */
class App : Application() {
    override fun onCreate() {
        super.onCreate()
        Twitter.initialize(this)
        FacebookSdk.sdkInitialize(this)
        AppEventsLogger.activateApp(this)
        instance = this
    }

    companion object {
        lateinit var instance: Application
    }
}